Skip to main content
Feedback

XML Validation Policy

The xml-validation policy validates XML using an XSD schema. This policy uses javax.xml. A 400 BAD REQUEST error is received with a custom error message body when validation fails.

Timing

On Request ContentOn Response Content
X

Configuration

PropertyRequiredDescriptionTypeDefault
errorMessagenoCustom error message in XML format. Spel is allowed.stringvalidation/internal
xsdSchemayesXSD schemastring

Errors

HTTP Response Code

CodeMessage
400Applies to invalid payload, invalid XSD schema, invalid error message XML format.
On this Page